package com.tanhua.admin.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tanhua.admin.mapper.LogMapper;
import com.tanhua.model.db.Log;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Slf4j
@Service
public class LogService extends ServiceImpl<LogMapper,Log> {



    public void add(Log pojo){
        log.debug("日志信息开始存入数据库");
        save(pojo);
        log.debug("日志信息存入数据库完成");
    }
}
